package com.jeesite.modules.dataScreen.spi;

import cn.hutool.core.io.resource.ResourceUtil;
import com.alibaba.fastjson2.JSONObject;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.ImmutableMultimap;
import com.google.common.collect.ListMultimap;


public class IndustryNameLoader {

    private static final String PATH = "data/jsons/";

    /**
     * 加载指标json文件
     *
     * @param jsonPath data/jsons/目录下
     * @return 指标操作数据
     */
    public static JSONObject load(String jsonPath) {
        String utf8Str = ResourceUtil.readUtf8Str(PATH + jsonPath);
        return JSONObject.parseObject(utf8Str);
    }

}
